
package com.jf.cloud.combo.feign;

import com.jf.cloud.api.combo.feign.ComboSpuSkuFeignClient;
import com.jf.cloud.api.combo.vo.ComboSkuVo;
import com.jf.cloud.combo.service.ComboSpuSkuService;
import com.jf.cloud.common.response.ServerResponseEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;
import io.swagger.v3.oas.annotations.Hidden;

import java.util.List;
import java.util.Set;

/**
 * @author zz
 * @date 2022/8/22 17:57
 */
@RestController
@Hidden
public class ComboSpuSkuFeignController implements ComboSpuSkuFeignClient {
    @Autowired
    private ComboSpuSkuService comboSpuSkuService;
    @Override
    public ServerResponseEntity<List<ComboSkuVo>> comboVoListComboAndSkuList(Set<Long> comboIdList, List<Long> skuIdList) {
        return ServerResponseEntity.success(comboSpuSkuService.comboVoListComboAndSkuList(comboIdList,skuIdList));
    }
}
